Run from an elevated command prompt or else the test file creation will be much slower

Example DiskSpd parameters for testing with SQL Server:

DiskSpd.exe -c1G d30 -r -w0 -t8 -o8 -b8K -Sh -L -P100000 C:\IOTestFile.dat

-c10G (A 1GB test file)
-d30 (Test duration of 30 seconds)
-r (Random IO)
-w0 (0% writes, 100% reads)
-t8 (8 threads)
-o8 (8 outstanding IO requests)
-b8K (Block size is 8K)
-Sh (Disable both software caching and hardware write caching)
-L (Measure latency statistics)
-P100000 (Print a progress dot everey 100000 I/Os
-C:\IOTestFile.dat (File path and name to create for test)



Diskspd.exe -c500M -d30 -r -w30 -t8 -o8 -b8K -Sh -L -P100000 C:\IOTestFile.dat

-c500M (A 500MB test file)
-d30 (Test duration of 30 seconds)
-r (Random IO)
-w30 (30% writes, 70% reads)
-t8 (8 threads)
-o8 (8 outstanding IO requests)
-b8K (Block size is 8K)
-Sh (Disable both software caching and hardware write caching)
-L (Measure latency statistics)
-P100000 (Print a progress dot everey 100000 I/Os
-C:\IOTestFile.dat (File path and name to create for test)


-- Don't forget to delete the test file!!!




